#include "gpuperf.h"
#include "ui_gpuperf.h"

gpuPerf::gpuPerf(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::gpuPerf)
{
    ui->setupUi(this);

    //QImage *ice;
    //ice = new QImage(":/new/prefix1/inter_logo.PNG");
    //ui->logo->setPixmap(QP);

    QImage im;
    im.load(":/new/prefix1/inter_logo.PNG");
    ui->logo->setPixmap(QPixmap::fromImage(im));
}

gpuPerf::~gpuPerf()
{
    delete ui;
}

void gpuPerf::on_pushButton_clicked()
{
    ui->stackedWidget->setCurrentIndex(0);
}

void gpuPerf::on_pushButton_2_clicked()
{
    ui->stackedWidget->setCurrentIndex(1);
}

void gpuPerf::on_pushButton_3_clicked()
{
    ui->stackedWidget->setCurrentIndex(2);
}

void gpuPerf::on_pushButton_4_clicked()
{
    ui->stackedWidget->setCurrentIndex(3);
}

void gpuPerf::on_label_19_linkActivated(const QString &link)
{

}
